import request from '@/utils/request'


export function examRoomList(query) {
  return request({
    url: '/manager/examinationRoom/list',
    method: 'get',
    params: query
  })
}

export function examRoomAdd(data) {
    return request({
      url: '/manager/examinationRoom',
      method: 'post',
      data
    })
  }

  export function examRoomEdit(data) {
    return request({
      url: '/manager/examinationRoom',
      method: 'put',
      data
    })
  }

  export function examRoomDelete(id) {
    return request({
      url: '/manager/examinationRoom/'+ id,
      method: 'delete',
    })
  }

  